import request from '../utils/request';

export function login (data) {
    return request({
      url: '/user/info/login',
      method: 'post',
      data
    })
  }

export function logout() {
    return request({
        url: '/login/logout',
        method: 'post'
    })
}